
<textarea id="editor_id_{{ $uEditorStatic }}" name="{{ $inputName }}" type="text/plain">{{ $inputValue }}</textarea>

@if($uEditorStatic==1)
<script type="text/javascript" charset="utf-8" src="{{ asset('plugins/ueditor/1.4.3/ueditor.config.js') }}"></script>

<script type="text/javascript" charset="utf-8" src="{{ asset('plugins/ueditor/1.4.3/ueditor.all.js') }}"></script>

<script type="text/javascript" src="{{ asset('plugins/ueditor/1.4.3/lang/zh-cn/zh-cn.js') }}"></script>

<script>
    window.UEDITOR_HOME_URL = "{{ asset('plugins/ueditor/1.4.3') }}";
</script>
@endif

<script>

//    window.UEDITOR_CONFIG.zIndex = 1000;
//    window.UEDITOR_CONFIG.charset = "utf-8";
//    window.UEDITOR_CONFIG.initialFrameWidth = parseInt(800);
//    window.UEDITOR_CONFIG.initialFrameHeight = parseInt(500);
//    window.UEDITOR_CONFIG.scaleEnabled = false;
//    window.UEDITOR_CONFIG.fontsize = [10, 11, 12, 14, 16, 18, 20, 24, 36, 48, 56];
    //        window.UEDITOR_CONFIG.serverUrl = ''; //  公共的上传地址 后期自定义时候可以修改
    UE.getEditor("editor_id_{{ $uEditorStatic }}", {
        zIndex: 1000,
        charset: "utf-8",
        initialFrameHeight: 500,
        scaleEnabled: false,
        fontsize: [10, 11, 12, 14, 16, 18, 20, 24, 36, 48, 56]
    });
</script>